Wiki:
Page name: ECGTD Transparent GIFs [Logged in view] [RSS]
2004-11-04 23:53:04
Last author: Sunrose
Owner: 65tyjvw45b
# of watchers: 13
Fans: 0
D20: 10
Bookmark and Share
<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>

<img:stuff/ECGTD_Transparent_GIFs_00.jpg>

ECGTD Transparent GIFs

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Return to Elftown CG Tutorials.
Return to ECGT Adobe Photoshop.
Return to ECGT Deiscorides Photoshop Tutorials.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>

Click on link to view full image.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Part A - Creating the file:


Creating a transparent GIF image file for use on the web so that it will appear on any background is easy. I will be showing you the easiest way to make a transparent GIF image file. I won't bore you with the details behind Alpha channels and all that, but instead I'll just flat out tell you how to do it. I'll be using plain text as an image so, one extra step to rasterize the text layer will be needed. I do not show that step, but all you have to do is try to draw or erase on the text layer and it will ask you if you want to rasterize it. Take note that I am not showing how to create a fading transparent GIF or an image that has contained several layers each using a different Layer Style which would cause you to Flatten the image instead of Merge the layers. That requires more steps, forcing you to erase the areas which you want transparent.

Steps 1 and 2
Determine how big you want your image to be and create a New image file with the dimensions needed. Create a new layer or paste something into your image, which will create the new layer. Hide the background by clicking on the Eye to the left of the layer in the layer window. Then create your image with no background. When you are done, make sure that you merge all layers except the hidden background layer. To merge them you can click on the top most layer to highlight it, then press Ctrl+E on your keyboard. That layer will then merge down to the next layer. Do this for all the layers except the hidden layer. If you want you can completely delete the hidden layer. It is not needed.

<img:stuff/Deiscorides_tutorials_TransGIFs_Thumbs_Part_A_01.jpg>
<URL:stuff/Deiscorides_tutorials_TransGIFs_Large_Part_A_01.jpg>

<img:stuff/Deiscorides_tutorials_TransGIFs_Thumbs_Part_A_02.jpg>
<URL:stuff/Deiscorides_tutorials_TransGIFs_Large_Part_A_02.jpg>

<img:stuff/Deiscorides_tutorials_TransGIFs_Thumbs_Part_A_03.jpg>
<URL:stuff/Deiscorides_tutorials_TransGIFs_Large_Part_A_03.jpg>

<img:stuff/Deiscorides_tutorials_TransGIFs_Thumbs_Part_A_04.jpg>
<URL:stuff/Deiscorides_tutorials_TransGIFs_Large_Part_A_04.jpg>

Steps 3-10
Now, press and hold down the Ctrl key on your keyboard while clicking on the main layer that has your image on it. This action will select everything in that layer and nothing else. Click on your Channels tab to see the RGB channels. Click on the "Create New Channel" button shown in step 5. Make sure that the newly created Alpha channel is the only thing visible. Your image should turn a solid colour like black with the dotted selection lines still in place. Once you have done that you can click on one of the Marquee tools. With a Marquee tool right-click on the image itself. In the menu that pops up click on, "Inverse Selection". This will select everything on that layer that is not a part of your image and will be transparent. Use the Paint Bucket Tool, select the colour White and click on the areas that are to be transparent. Make sure all areas that are to be transparent are White and all areas that are to be seen are Black. When you are done with that, unhide the RGB, R,G,B channels. Your image should now turn an odd red colour and its outer areas that are to be transparent should be transparent.

<img:stuff/Deiscorides_tutorials_TransGIFs_Thumbs_Part_A_05.jpg>
<URL:stuff/Deiscorides_tutorials_TransGIFs_Large_Part_A_05.jpg>

<img:stuff/Deiscorides_tutorials_TransGIFs_Thumbs_Part_A_06.jpg>
<URL:stuff/Deiscorides_tutorials_TransGIFs_Large_Part_A_06.jpg>

<img:stuff/Deiscorides_tutorials_TransGIFs_Thumbs_Part_A_07.jpg>
<URL:stuff/Deiscorides_tutorials_TransGIFs_Large_Part_A_07.jpg>

<img:stuff/Deiscorides_tutorials_TransGIFs_Thumbs_Part_A_08.jpg>
<URL:stuff/Deiscorides_tutorials_TransGIFs_Large_Part_A_08.jpg>

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>

Part B - Saving the image as a Transparent GIF file:


Steps 1-4:
Now to save your file as a Transparent GIF file. Simply click on File in the top left of the screen and then click on "Save As". In the Save window, make sure to select the "CompuServe GIF (*.GIF)" file type Format, using the drop down box labeled "Format". Type in your filename and click on the Save button. Next a new window will pop up. Please, take note of the settings I am using in the step 3 image, below. The check box "Transparency" is the most important and must be checked otherwise you won't have a transparent GIF when you are done. Click on OK when you are done changing the settings. A very small window will open and all you need to do is click on OK again. You should now have a transparent GIF image to use.

<img:stuff/Deiscorides_tutorials_TransGIFs_Thumbs_Part_B_01.jpg>
<URL:stuff/Deiscorides_tutorials_TransGIFs_Large_Part_B_01.jpg>

<img:stuff/Deiscorides_tutorials_TransGIFs_Thumbs_Part_B_02.jpg>
<URL:stuff/Deiscorides_tutorials_TransGIFs_Large_Part_B_02.jpg>

<img:stuff/Deiscorides_tutorials_TransGIFs_Thumbs_Part_B_03.jpg>
<URL:stuff/Deiscorides_tutorials_TransGIFs_Large_Part_B_03.jpg>

<img:stuff/Deiscorides_tutorials_TransGIFs_Thumbs_Part_B_04.jpg>
<URL:stuff/Deiscorides_tutorials_TransGIFs_Large_Part_B_04.jpg>

Finished Image:
<img:stuff/Deiscorides_tutorials_TransGIFs_Finished_00.gif>

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>


Return to Elftown CG Tutorials.
Return to ECGT Adobe Photoshop.
Return to ECGT Deiscorides Photoshop Tutorials.

<img:stuff/2237_wiki_help_9y7vcgcflr5.jpg>

<img:http://www.pro-counter.com/cgi-bin/gd-count.cgi?page=DPS7Tutorial&style=blushdw&nbdigits=10&reloads=1>
http://www.pro-counter.com/signup.htm - get your own site-counter.

Username (or number or email):

Password:

2004-08-23 [65tyjvw45b]: <img:stuff/Deiscorides_tutorials_TransGIFs_Finished_00.gif>

2004-08-24 [irulan]: Sweet - very nice tutorial Deis. I must go try this later tonight; I have thus far been very unsuccessful with transparent gifs!

2004-08-24 [65tyjvw45b]: Thanks. <-(^_^)-> I had trouble remembering the black and white for the Alpha channel. So, sometimes I'd have a backwards transparent gif. The image was transparent and the background soild. Let me know how it turns out.

2004-08-24 [Mister Sneakers]: I've beenn using transparent gif's anyways on one of my smaller wikis just to experiment before this tutorial was even posted up. ^_^  GO to the banners page on Wiccan Path (As I said on the main EG page...also keep in mind, this is still Archeress)

2004-08-24 [65tyjvw45b]: Funny thing is the Pentagram pic at the top of your page looks perfect with its background. Which, is really suprising since you uploaded it in an Elfhouse.

2004-08-24 [Mister Sneakers]: hehe... it's a little off on my computer. It looks kind of neon-ish... LOL!! But the banners are transparent. (BTW: Next time I post I'll be on my onw name I think...lol)

2004-08-24 [65tyjvw45b]: What browser are you using and what OS are you using? I'm using IE 6 and WinXP.

2004-08-24 [Archeress of Mirkwood]: I can't remember what IE i'm running, but I use MSN Explorer anyhow, and also have WinXP

2004-08-24 [65tyjvw45b]: You most likely have IE 6. You can click on "Help" at the top of the window then click on, "About Internet Explorer" to see the version number.

2004-08-25 [Archeress of Mirkwood]: Actually no, like I said, I use MSN Explorer, and it doesn't even have any of those options up at the top of my window. @_@

2004-08-25 [irulan]: Does MSN Explorer really use IE though?

2004-08-25 [65tyjvw45b]: I've no clue. I know that AOL uses a weird version of IE shell. When I looked at things using Opera then the background looked good for nearly everyone's images including mine.

2005-05-01 [Zab]: it doesn´t work! I´ve tried to make a transparent pic 6 times, but I have no paint bucket tool and I cant chose exact when I save! everything is fine and looks like it should but the pic is white and not transparent, grrr!

2005-07-18 [Tyrana]: You have no paint bucket tool? What program are you using?

2005-08-05 [The Scarlet Pumpernickle]: I can make tranparent gifs but if I make say, a swirly divder that has thin lines the edges get all choppy.. like this <img:http://elftown.lysator.liu.se/stuff/Gold-divder.gif> Any ideas on how to fix that?

2005-08-17 [Paz]: I have PS Elements so I can't use the channels tools to make a transparent image T.T

2005-09-20 [Yncke]: @[The Scarlet Pumpernickle]: that's a part of the fact that you're using GIFs. It can be solved by using PNG (How do I make transparent images?)

2005-09-26 [dew_farie]: um, i like your tutoral and all, but i dont have that program. Do you know how to do it in Photoshop 2000 SE? Or do you know someone that does?

Number of comments: 38
Older comments: (Last 200) .1. 0

Show these comments on your site

Elftown - Wiki, forums, community and friendship.